package com.lucy.flow.service;

import com.lucy.common.service.BaseService;
import com.lucy.flow.domain.entity.FlowDefine;

import java.util.Optional;

public interface FlowDefineService extends BaseService<FlowDefine,String> {
    /**
     * 根据流程定义编码查询流程实例
     * @param flowDefineCode 流程定义编码
     * @return 流程定义封装类
     */
    Optional<FlowDefine> getByDefineCode(String flowDefineCode);
}
